package edu.yourl.persistence;

import java.util.List;

import edu.yourl.domain.Favoritable;

public interface IFavoritableRepository {

	public <T extends Favoritable> List<T> findAllFavoritablesByName(Class<T> clazz, String name);

	public <T extends Favoritable> T findFavoritableByName(Class<T> clazz, String name);

	public <T extends Favoritable> T findFavoritableBySeoFriendlyId(Class<T> clazz, String seoFriendlyId);
}
